@Entity @Table(name = "pets") public class Pet extends NamedEntity { @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate birthDate;